package com.biomatch.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
@TableName(value = "fs_syslog")
public class SysLog {

    @TableId(value = "Id")
    private int id; //ID

    @TableField(value = "OpeTim")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date opetim; //操作时间

    @TableField(value = "UsrCod")
    private String usrcod; //用户编号

    @TableField(value = "UsrNam")
    private String usrnam; //用户名称

    @TableField(value = "LgnNam")
    private String lgnnam; //登陆名称

    @TableField(value = "OpeCat")
    private String opecat; //操作类别

    @TableField(value = "OpeDes")
    private String opedes; //操作描述

    @TableField(value = "OpeDtl")
    private String opedtl; //更详细描述

    @TableField(value = "UpdMan")
    private String updman; //更新名称

    @TableField(value = "UpdTim")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updtim;  //更新时间

    @TableField(value = "delflg")
    private Boolean delflg; //删除标志

    @TableField(value = "type")
    private String type;//类型
}
